package com.xxxx.manager.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author : ymd
 * @Date : 2020/11/2 0002 15:53
 * @Version 1.0
 * @Description : 处理Cookie
 */
public interface CookieService {
    /**
     * 设置Cookie
     * @param request
     * @param response
     * @param ticket
     * @return
     */
    boolean setCookie(HttpServletRequest request, HttpServletResponse response,String ticket);

    String getCookie(HttpServletRequest request);

    boolean deleteCookie(HttpServletRequest request,HttpServletResponse response);
}
